﻿namespace Example
{
    public class Program
    {
        public static void Main(string[] args)
        {
            double x = 60042;
            for (double i = 0; i < 100; i++)
            {
                if ((x + (i * 100)) % 57.0 == 0 && (x + (i * 100)) % 67.0 == 0)
                {
                    Console.WriteLine(x + (i * 100));
                }
            }
        }
    }
}